package com.hfi.security.core.validate.code;

import org.springframework.web.context.request.ServletWebRequest;

/**
 * @author ChangLiang
 * @date 2019/8/14
 */
public interface ValidateCodeGenerator {

    /**
     * 创建验证码
     * @param request
     * @return
     */
    ValidateCode generate(ServletWebRequest request);
}
